﻿using MES.Desktop.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MES.Desktop.IService
{
    public interface IMaterialService
    {
        #region 物料分类
        IEnumerable<MaterialClassEntity> GetClassAll(string key = "");

        int UpdateClass(MaterialClassEntity m_class);

        int DeleteClass(string[] ids);

        bool CheckClassName(string name, int id);
        #endregion
    }
}
